package ru.eas.tetris.tetromino;

/**
 * @author aesipov
 */
public class SquareTetromino implements RotatableTetromino {

    private static final boolean[][] data = { { true, true }, { true, true } };
    
    @Override
    public void rotateRight() {
    }

    @Override
    public void rotateLeft() {
    }

    @Override
    public int getWidth() {
        return 2;
    }

    @Override
    public int getHeight() {
        return 2;
    }

    @Override
    public boolean isSquare(int x, int y) {
        return data[x][y];
    }
}
